@extends('home.layouts')
@section('content')
	<div id="content" class="content_home">
		@component('home.components.swiper', ['swiper' => $datas['swiper']]) @endcomponent

		@component('home.components.index-shop') @endcomponent
		<div class="container"><!--商品展示开始-->
            <div class="box fp_carousel" id="fp_carousel_0">
                <div class="box-header">
                    <div class="row">
                        <div class="col-sm-12 col-xs-12">
                            <div class="section-title">
                                <h1 class="fp_carousel-title">Home Featured Products</h1>
                            </div>
                            <h3 class="title_subheading">Find your style from us</h3>
                        </div>
                    </div>
                </div>
                
				<div class="product-item owl-carousel owl-theme" id="featured_products_carousel_0">
                    @foreach($datas['goods'] as $v)
                      @component('home.components.index-product', ['goods' => $v]) @endcomponent
                    @endforeach
                </div>    


            </div>
            
        </div><!--商品展示结束-->
        
        @component('home.components.index-news', ['news' => $datas['news']]) @endcomponent
        
       


	</div>	
@endsection